package com.bitnei.battery.constants;

/**
 * @author czl
 * @email czl_nylg@163.com
 * @date 2018/5/21 13:53
 * @Version 1.0
 * @Description: 错误信息返回码
 */
public final class ErrMsgCode {

    /**
     * 失败
     */
    public final static String FAIL = "9001";


    /**
     * 映射错误
     */
    public final static String MAPPING_ERROR = "9002";


    /**
     * 接口配置为空
     */
    public final static String INTERFACE_CONFIG_EMTRY = "8001";


    /**
     * 型号不存在
     */
    public final static String MODEL_EMTRY = "8002";

    /**
     * 实体已存在
     */
    public final static String EXISTED = "8003";


    /**
     * 配置信息错误
     */
    public final static String CONFIG_ERROR = "8004";


    /**
     * 实体校验错误
     */
    public final static String CHECK_ERROR = "8005";



    /**
     * 数据不合法
     */
    public final static String DATA_ERROR = "8006";


    /**
     * 字段信息填写错误
     */
    public final static String FIELD_ERROR = "8100";



    /**
     * 规格信息填写错误
     */
    public final static String SPEC_ERROR = "8101";


    /**
     * 子级数据错误
     */
    public final static String SUB_DATA_ERROR = "8102";


    /**
     * 数据重复错误
     */
    public final static String REPEAT_ERROR = "8103";


    /**
     * 电池编码格式错误
     */
    public final static String CODE_ERROR = "8104";


    /**
     * 数据不存在
     */
    public final static String NON_EXISTENT = "8105";


    /**
     * 系统处理错误
     */
    public final static String SYS_ERROR = "8000";


}
